﻿using System.Collections;

namespace CSharpPro._1103;

public class Demo
{
    public void TestPrint()
    {
        ArrayList arrayList = new ArrayList();
        arrayList.Add(1);
        arrayList.Add(1.5);
        arrayList.Add("2");
        arrayList.Add("A");
        foreach (object o in arrayList)
        {
            Console.WriteLine(o);
        }

        List<int> list = new List<int>();
        list.Add(1);
        List<User> users = new List<User>();
        
        Stack<int> stack = new Stack<int>();
    }
}
